<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
	[#include "/admin/include/head.htm"]
</head>
<body style="padding:20px; overflow:scroll;">
	<div id="tabcontainer" style="margin:0; padding:0; padding-bottom: 20px">
		<div class="table_title">
			<img src="${base}/resource/images/communication.gif">
			<span>基本信息 </span>
		</div>
	    <table class="inputTable2">
	            <tr>
	            	<th>编号：</th>
	                <td>${(shipping.sendSn)!}</td>
	                <th>订单编号：</th>
	                <td>${(shipping.order.orderNo)!}</td>
	            </tr>
				<tr>
					<th>物流单号：</th>
					<td>${(shipping.logisticsNo)!}</td>
					<th>配送方式：</th>
					<td>${(shipping.deliveryMethodName)!}</td>
				</tr>
				<tr>
					<th>物流费用：</th>
					<td>${currency(shipping.shipFee, true)!}</td>
	                <th>发货时间：</th>
	                <td>${(shipping.createDate)!}</td>
	            </tr>
	    </table>
	    
		<div class="table_title">
			<img src="${base}/resource/images/communication.gif">
			<span>收货人信息 </span>
		</div>
		<table class="inputTable2">
				<tr>
	                <th>收货人：</th>
	                <td>${(shipping.receiver)!}</td>
	            </tr>
				<tr>
	                <th>地区：</th>
	                <td>${(shipping.district)!}</td>
	            </tr>
				<tr>
					<th>地址：</th>
	                <td>${(shipping.address)!}</td>
				</tr>
				<tr>
					<th>邮编：</th>
	                <td>${(shipping.zipCode)!}</td>
				</tr>
				<tr>
					<th>联系方式：</th>
	                <td>${(shipping.mobile)!shipping.telephone}</td>
	            </tr>
	    </table>
		
		<div class="table_title">
			<img src="${base}/resource/images/communication.gif">
			<span>发货项 </span>
		</div>
		
		<table class="inputTable" width="100%">
			<tr>
	            <th>商品编号</th>
	            <th>批号</th>
	            <th>商品名称</th>
				<th>发货数量</th>
	        </tr>
	        [#if shipping.shippingItems?has_content]
				[#list shipping.shippingItems as item]
					<tr>
                        <td>${item.productSn}</td>
						<td>${item.batch}</td>
			            <td>${item.productName}</td>
						<td>${item.quantity}</td>
			        </tr>
				[/#list]
			[/#if]
	    </table>
	 </div>
</body>
</html>